package top.drinyeit.nongmao.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by wu on 2018/1/8.
 */

public class AppHomeBean implements Serializable{

    private List<CommodityBean> commodity;
    private List<BannerBean> banner;
    private List<CategoryBean> category;

    public List<BannerBean> getBanner() {
        return banner;
    }

    public List<CategoryBean> getCategory() {
        return category;
    }

    public List<CommodityBean> getCommodity() {
        return commodity;
    }

    public void setBanner(List<BannerBean> banner) {
        this.banner = banner;
    }

    public void setCategory(List<CategoryBean> category) {
        this.category = category;
    }

    public void setCommodity(List<CommodityBean> commodity) {
        this.commodity = commodity;
    }

    public class CommodityBean implements Serializable{
        private String id;
        private String search_key;
        private String picture;
        private String title;
        private String sort_order;
        private int del_flag;
        private String create_time;

        public String getCreate_time() {
            return create_time;
        }

        public int getDel_flag() {
            return del_flag;
        }

        public String getId() {
            return id;
        }

        public String getPicture() {
            return picture;
        }

        public String getSearch_key() {
            return search_key;
        }

        public String getSort_order() {
            return sort_order;
        }

        public String getTitle() {
            return title;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public void setDel_flag(int del_flag) {
            this.del_flag = del_flag;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }

        public void setSearch_key(String search_key) {
            this.search_key = search_key;
        }

        public void setSort_order(String sort_order) {
            this.sort_order = sort_order;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

    public class BannerBean implements Serializable{
        private String id;
        private String type;
        private int jump_type;
        private String banner_img;
        private String sort_order;
        private int type_id;
        private String type_url;
        private String show_flag;
        private String del_flag;
        private String create_time;
        private String banner_img_url;

        public BannerBean() {

        }

        public void setSort_order(String sort_order) {
            this.sort_order = sort_order;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setDel_flag(String del_flag) {
            this.del_flag = del_flag;
        }

        public void setBanner_img(String banner_img) {
            this.banner_img = banner_img;
        }

        public void setBanner_img_url(String banner_img_url) {
            this.banner_img_url = banner_img_url;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public void setJump_type(int jump_type) {
            this.jump_type = jump_type;
        }

        public void setShow_flag(String show_flag) {
            this.show_flag = show_flag;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setType_id(int type_id) {
            this.type_id = type_id;
        }

        public void setType_url(String type_url) {
            this.type_url = type_url;
        }

        public String getSort_order() {
            return sort_order;
        }

        public String getId() {
            return id;
        }

        public String getDel_flag() {
            return del_flag;
        }

        public String getBanner_img() {
            return banner_img;
        }

        public String getBanner_img_url() {
            return banner_img_url;
        }

        public String getCreate_time() {
            return create_time;
        }

        public int getJump_type() {
            return jump_type;
        }

        public String getShow_flag() {
            return show_flag;
        }

        public String getType() {
            return type;
        }

        public int getType_id() {
            return type_id;
        }

        public String getType_url() {
            return type_url;
        }
    }

}
